import base from './HttpBase'; // 导入接口域名列表
import axios from '../request/http'; // 导入http中创建的axios实例
import qs from 'qs'; // 根据需求是否导入qs模块
const article = {
  //  获取主页左边导航类容
  getSideNav() {
    return axios.get(`${base.laow}/goods/PCClass`)
    return {
      "sidebar": [
          {
              "name": "电瓶车",
              "id": 1,
              "list": [
                  {
                      "id": 1,
                      "title": "两轮电动车",
                      "list": [
                          {
                              "name": "电动自行车",
                              "id": 1
                          },
                          {
                              "name": "电动摩托",
                              "id": 4
                          }
                      ]
                  },
                  {
                      "id": 2,
                      "title": "自平衡电动车",
                      "list": [
                          {
                              "name": "两轮平衡车",
                              "id": 2
                          },
                          {
                              "name": "独轮平衡车",
                              "id": 3
                          }
                      ]
                  },
                  {
                      "id": 3,
                      "title": "三轮电动车",
                      "list": [
                          {
                              "name": "三轮载客车(全封闭)",
                              "id": 5
                          },
                          {
                              "name": "三轮载货车",
                              "id": 6
                          },
                          {
                              "name": "三轮货客两用车",
                              "id": 7
                          }
                      ]
                  },
                  {
                      "id": 13,
                      "title": "电动滑板车",
                      "list": [
                          {
                              "name": "双轮滑板车",
                              "id": 50
                          },
                          {
                              "name": "三轮滑板车",
                              "id": 51
                          },
                          {
                              "name": "四轮滑板车",
                              "id": 52
                          }
                      ]
                  },
                  {
                      "id": 14,
                      "title": "定制版电动车",
                      "list": [
                          {
                              "name": "快递车巡逻车",
                              "id": 59
                          },
                          {
                              "name": "观光车消防车",
                              "id": 60
                          },
                          {
                              "name": "其它功能车",
                              "id": 61
                          }
                      ]
                  },
                  {
                      "id": 15,
                      "title": "电动儿童车",
                      "list": [
                          {
                              "name": "两轮儿童车",
                              "id": 62
                          },
                          {
                              "name": "三轮儿童车",
                              "id": 63
                          },
                          {
                              "name": "四轮儿童车",
                              "id": 64
                          }
                      ]
                  },
                  {
                      "id": 16,
                      "title": "老年代步车",
                      "list": [
                          {
                              "name": "电动轮椅",
                              "id": 56
                          },
                          {
                              "name": "三轮代步车",
                              "id": 57
                          },
                          {
                              "name": "四轮代步车",
                              "id": 58
                          }
                      ]
                  },
                  {
                      "id": 17,
                      "title": "四轮电动车",
                      "list": [
                          {
                              "name": "四轮载客车",
                              "id": 53
                          },
                          {
                              "name": "四轮货客两用车",
                              "id": 54
                          },
                          {
                              "name": "新能源汽车(全封闭)",
                              "id": 55
                          }
                      ]
                  }
              ]
          },
          {
              "name": "电动车零配件",
              "id": 3,
              "list": [
                  {
                      "id": 5,
                      "title": "电池系列",
                      "list": [
                          {
                              "name": "铅酸电池",
                              "id": 11
                          },
                          {
                              "name": "镍氢电池",
                              "id": 12
                          },
                          {
                              "name": "锂电池",
                              "id": 13
                          },
                          {
                              "name": "其他电池",
                              "id": 14
                          }
                      ]
                  },
                  {
                      "id": 6,
                      "title": "电器系列",
                      "list": [
                          {
                              "name": "控制器",
                              "id": 15
                          },
                          {
                              "name": "充电器",
                              "id": 16
                          },
                          {
                              "name": "充电插座",
                              "id": 17
                          },
                          {
                              "name": "车灯开关",
                              "id": 18
                          },
                          {
                              "name": "防盗器",
                              "id": 19
                          },
                          {
                              "name": "喇叭",
                              "id": 20
                          }
                      ]
                  },
                  {
                      "id": 7,
                      "title": "行驶部件",
                      "list": [
                          {
                              "name": "电机",
                              "id": 21
                          },
                          {
                              "name": "轮胎",
                              "id": 22
                          },
                          {
                              "name": "轮毂",
                              "id": 23
                          },
                          {
                              "name": "轴承",
                              "id": 24
                          },
                          {
                              "name": "飞轮",
                              "id": 25
                          },
                          {
                              "name": "辐条",
                              "id": 26
                          },
                          {
                              "name": "碳刷/刷架",
                              "id": 27
                          }
                      ]
                  },
                  {
                      "id": 8,
                      "title": "制动系统",
                      "list": [
                          {
                              "name": "刹车装置",
                              "id": 28
                          }
                      ]
                  },
                  {
                      "id": 9,
                      "title": "结构部件",
                      "list": [
                          {
                              "name": "反光镜",
                              "id": 29
                          },
                          {
                              "name": "车篮/车筐",
                              "id": 30
                          },
                          {
                              "name": "方向把",
                              "id": 31
                          },
                          {
                              "name": "线类",
                              "id": 32
                          },
                          {
                              "name": "前后叉/减震装置",
                              "id": 33
                          },
                          {
                              "name": "坐垫",
                              "id": 34
                          },
                          {
                              "name": "脚踏",
                              "id": 35
                          },
                          {
                              "name": "双撑/偏撑",
                              "id": 36
                          },
                          {
                              "name": "后备箱",
                              "id": 37
                          },
                          {
                              "name": "后衣架",
                              "id": 38
                          },
                          {
                              "name": "后靠背",
                              "id": 39
                          }
                      ]
                  },
                  {
                      "id": 10,
                      "title": "其它零/配件",
                      "list": [
                          {
                              "name": "其它摩托车零/配件",
                              "id": 40
                          }
                      ]
                  }
              ]
          },
          {
              "name": "骑行装备",
              "id": 4,
              "list": [
                  {
                      "id": 11,
                      "title": "穿戴装备",
                      "list": [
                          {
                              "name": "头盔",
                              "id": 41
                          },
                          {
                              "name": "风镜/骑行眼镜",
                              "id": 42
                          },
                          {
                              "name": "面罩",
                              "id": 43
                          },
                          {
                              "name": "雨披/雨衣",
                              "id": 44
                          },
                          {
                              "name": "防晒衣",
                              "id": 45
                          },
                          {
                              "name": "手套/护手",
                              "id": 46
                          },
                          {
                              "name": "护膝",
                              "id": 47
                          },
                          {
                              "name": "其它穿戴装备",
                              "id": 48
                          }
                      ]
                  },
                  {
                      "id": 12,
                      "title": "单车装备",
                      "list": [
                          {
                              "name": "安全车灯",
                              "id": 65
                          },
                          {
                              "name": "骑行包",
                              "id": 66
                          },
                          {
                              "name": "手机支架",
                              "id": 67
                          },
                          {
                              "name": "音响/音箱",
                              "id": 68
                          },
                          {
                              "name": "遮阳伞",
                              "id": 69
                          },
                          {
                              "name": "挡风被",
                              "id": 70
                          },
                          {
                              "name": "撑伞架",
                              "id": 71
                          },
                          {
                              "name": "防尘罩",
                              "id": 72
                          },
                          {
                              "name": "脚垫",
                              "id": 73
                          },
                          {
                              "name": "车锁",
                              "id": 74
                          },
                          {
                              "name": "儿童座椅/座椅",
                              "id": 75
                          },
                          {
                              "name": "棚货架",
                              "id": 76
                          },
                          {
                              "name": "其它单车装备",
                              "id": 77
                          }
                      ]
                  }
              ]
          },
          {
              "name": "实体服务",
              "id": 5,
              "list": [
                  {
                      "id": 4,
                      "title": "电动车类",
                      "list": [
                          {
                              "name": "常规维修服务",
                              "id": 8
                          },
                          {
                              "name": "电池换装服务",
                              "id": 9
                          },
                          {
                              "name": "其他服务",
                              "id": 10
                          }
                      ]
                  }
              ]
          },
          {
              "name": "摩托车",
              "id": 6,
              "list": []
          },
          {
              "name": "自行车",
              "id": 7,
              "list": []
          },
          {
              "name": "电动汽车",
              "id": 8,
              "list": []
          },
          {
              "name": "新能源电池",
              "id": 9,
              "list": []
          },
          {
              "name": "定制车辆",
              "id": 10,
              "list": []
          },
          {
              "name": "酷车中心",
              "id": 11,
              "list": []
          },
          {
              "name": "装备中心",
              "id": 12,
              "list": []
          },
          {
              "name": "配件中心",
              "id": 13,
              "list": []
          },
          {
              "name": "网点服务",
              "id": 14,
              "list": []
          },
          {
              "name": null,
              "id": 15,
              "list": []
          }
      ]
  }
  },
  getTurnsPicture() {
    // return axios.post(`${base.laow}/home/getTurnsPicture`, params);

  },
  getFirsData() {
    //主页轮番图下面的楼层信息
    return {
      proList: [
        //主页下面的楼层数据
        {
          id: 213,
          url:
            "https://img3.tuhu.org/Home/Image/8FC36F2888EAD5776FA93918B712792E.png",
          herf: "#"
        },
        {
          id: 213123,

          url:
            "https://img3.tuhu.org/Home/Image/49267D36913A0399BBD6256C6C88D3EF.png",
          herf: "#"
        },
        {
          id: 211233,

          url:
            "https://img3.tuhu.org/Home/Image/Fi-yf9xMe2koMpyW4iqKdF1hH6nm_w240_h273.png",
          herf: "#"
        },
        {
          id: 213123,

          url:
            "https://img4.tuhu.org/Images/Products/FsTnYpJCjv2_IeVhvrNurhOhoqpd_w800_h800.jpeg@220w_220h_100Q.jpg",
          herf: "#"
        },
        {
          id: 1231213,

          url:
            "https://img3.tuhu.org/Images/Products/830a/2e83/767793a4459b420ed047199a_w800_h800.jpeg@220w_220h_100Q.jpg",
          herf: "#"
        },
        {
          id: 212133,

          url:
            "https://img3.tuhu.org/Images/Products/FlDxMUg7wC2wgEpIVIOiCAexleWH_w800_h800.jpeg@220w_220h_100Q.jpg",
          herf: "#"
        }
      ],
      proListTrademark: [
        {
          url:
            "https://qjsc.oss-cn-beijing.aliyuncs.com/images/shop/316/images/2018/08/06/15335342846380.jpg",
          herf: "#"
        },
        {
          url:
            "https://qjsc.oss-cn-beijing.aliyuncs.com/images/shop/316/images/2018/08/06/15335342846380.jpg",
          herf: "#"
        },
        {
          url:
            "https://qjsc.oss-cn-beijing.aliyuncs.com/images/shop/316/images/2018/08/06/15335342846380.jpg",
          herf: "#"
        },
        {
          url:
            "https://qjsc.oss-cn-beijing.aliyuncs.com/images/shop/316/images/2018/08/06/15335342846380.jpg",
          herf: "#"
        },
        {
          url:
            "https://qjsc.oss-cn-beijing.aliyuncs.com/images/shop/316/images/2018/08/06/15335342846380.jpg",
          herf: "#"
        },
        {
          url:
            "https://qjsc.oss-cn-beijing.aliyuncs.com/images/shop/316/images/2018/08/06/15335342846380.jpg",
          herf: "#"
        },
        {
          url:
            "https://qjsc.oss-cn-beijing.aliyuncs.com/images/shop/316/images/2018/08/06/15335342846380.jpg",
          herf: "#"
        },
        {
          url:
            "https://qjsc.oss-cn-beijing.aliyuncs.com/images/shop/316/images/2018/08/06/15335342846380.jpg",
          herf: "#"
        },
        {
          url:
            "https://img2.tuhu.org/Home/Image/5BEB7E9D2D7CDF9308C863FF46947845.png",
          herf: "#"
        },
        {
          url:
            "https://img2.tuhu.org/Home/Image/5BEB7E9D2D7CDF9308C863FF46947845.png",
          herf: "#"
        },
        {
          url:
            "https://img2.tuhu.org/Home/Image/5BEB7E9D2D7CDF9308C863FF46947845.png",
          herf: "#"
        },
        {
          url:
            "https://img2.tuhu.org/Home/Image/5BEB7E9D2D7CDF9308C863FF46947845.png",
          herf: "#"
        },
        {
          url:
            "https://img2.tuhu.org/Home/Image/5BEB7E9D2D7CDF9308C863FF46947845.png",
          herf: "#"
        },
        {
          url:
            "https://img2.tuhu.org/Home/Image/5BEB7E9D2D7CDF9308C863FF46947845.png",
          herf: "#"
        },
        {
          url:
            "https://img2.tuhu.org/Home/Image/5BEB7E9D2D7CDF9308C863FF46947845.png",
          herf: "#"
        },
        {
          url:
            "https://img2.tuhu.org/Home/Image/5BEB7E9D2D7CDF9308C863FF46947845.png",
          herf: "#"
        },
        {
          url:
            "https://img2.tuhu.org/Home/Image/5BEB7E9D2D7CDF9308C863FF46947845.png",
          herf: "#"
        },
        {
          url:
            "https://img2.tuhu.org/Home/Image/5BEB7E9D2D7CDF9308C863FF46947845.png",
          herf: "#"
        },
        {
          url:
            "https://img2.tuhu.org/Home/Image/5BEB7E9D2D7CDF9308C863FF46947845.png",
          herf: "#"
        },
        {
          url:
            "https://img2.tuhu.org/Home/Image/5BEB7E9D2D7CDF9308C863FF46947845.png",
          herf: "#"
        }
      ],
      ADmsg: {
        url:
          "https://qjsc.oss-cn-beijing.aliyuncs.com/images/backend/8/images/2019/03/04/15516922481860.jpg",
        herf: "2"
      },
      OFFBotIF: true
    }
  },
  getProList() {
    // 主页轮番下面的活动数据
    return [
      {
        url:
          "https://img2.tuhu.org/Home/Image/Fl0O9wW3d_DQW_mVWVyNZI5dM5sG_w220_h145.png",
        herf: 'https://wx.tuhu.cn/vue/NaActivity/pages/home/index?id=D1CF945D'
      },
      {
        url:
          "https://img2.tuhu.org/Home/Image/1E4C8D769AE7B73EB6307057A0D3AF2B.png",
        herf: 'https://item.tuhu.cn/promotion/tirelist/6288e3e6-6df8-4015-890e-44f2c1b28ca1.html'

      },
      {
        url:
          "https://img2.tuhu.org/Home/Image/382e/74f7/2d4db2b4053617d70282432a_w239_h145.png",
        herf: 'https://wx.tuhu.cn/vue/NaActivity/pages/home/index?id=0249209F'

      },
      {
        url:
          "https://img2.tuhu.org/Home/Image/3529CB897EF3B5460F10A0FF2A54BF1E.png",
        herf: 'https://item.tuhu.cn/promotion/tirelist/353a09af-05aa-492a-9d96-af3a320e505b.html'

      },
      {
        url:
          "https://img2.tuhu.org/Home/Image/7C62900DBFC307644B9D5E33B4CD3BD1.png",
        herf: "https://item.tuhu.cn/promotion/activity/C3A60C25.html?id=C3A60C25&tuhu"
      }
    ]
  },
  // getAD(params) {

  // }
}
export default article;
